import request from '@/utils/request'
//决策
export function decisionMaking(query) {
  return request({
    url: '/product/BiAnalysis/decisionMaking',
    method: 'get',
    params: query
  })
}
//决策
export function decisionMakingTop(query) {
  return request({
    url: '/product/BiAnalysis/decisionMakingTop',
    method: 'get',
    params: query
  })
}
//销售曲线
export function selectChannelStatistics(query) {
  return request({
    url: '/product/BiAnalysis/selectSaleStatistics',
    method: 'get',
    params: query
  })
}
//品类词模糊匹配
export function selectAllFirstThreeList(query) {
  return request({
    url: '/product/BiAnalysis/selectAllFirstThreeList',
    method: 'get',
    params: query
  })
}
//一级品类曲线
export function selectFirstStatistics(query) {
  return request({
    url: '/product/BiAnalysis/firstThreeStatistics',
    method: 'get',
    params: query
  })
}
//渠道销售
export function channelSaleTop(query) {
  return request({
    url: '/product/BiAnalysis/channelSaleTop',
    method: 'get',
    params: query
  })
}
//店铺销售
export function shopSaleTop(query) {
  return request({
    url: '/product/BiAnalysis/shopSaleTop',
    method: 'get',
    params: query
  })
}

// 销售指标
export function selectSaleSingle(query) {
  return request({
    url: '/product/BiAnalysis/selectSaleDate',
    method: 'get',
    params: query
  })
}
// 库存指标
export function selectInventoryData(query) {
  return request({
    url: '/product/BiAnalysis/selectInventoryData',
    method: 'get',
    params: query
  })
}
// 库存曲线
export function selectInvStatistics(query) {
  return request({
    url: '/product/BiAnalysis/selectInvStatistics',
    method: 'get',
    params: query
  })
}
//渠道排行
export function getchannelInventoryTop(query) {
  return request({
    url: '/product/BiAnalysis/channelInventoryTop',
    method: 'get',
    params: query
  })
}
// 店铺排行
export function getshopInventoryTop(query) {
  return request({
    url: '/product/BiAnalysis/shopInventoryTop',
    method: 'get',
    params: query
  })
}